import request from '../utils/request';

export function loginApi({ mobile, code }) {
  return request({
    url: '/v1_0/authorizations',
    method: 'post',
    data: { mobile, code },
  });
}
